﻿Imports System.Drawing

Public Class Rechenwerk
    Implements funktionsplotter.contracts.IY_Werte_berechnen

    Public Function Process( _
    ByVal daten As System.Tuple(Of System.Func(Of Double, Double), IEnumerable(Of Double)) _
    ) As IEnumerable(Of System.Drawing.Point) _
    Implements contracts.IY_Werte_berechnen.Process
        Dim pts As New List(Of System.Drawing.Point)

        For Each x As Double In daten.Item2
            pts.Add(New Point(x, daten.Item1(x)))
        Next x

        Return pts
    End Function
End Class
